package com.lemon.components.wechart.order.media;

import com.lemon.components.common.order.ValidateOrderBase;

public class GetMediaOrder extends ValidateOrderBase {

	private String accessToken;
	private String mediaId;
	
	@Override
	public void check() {
		validateHasText(accessToken, "accessToken");
		validateHasText(mediaId, "mediaId");
	}
	
	public String getAccessToken() {
		return accessToken;
	}
	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}
	public String getMediaId() {
		return mediaId;
	}
	public void setMediaId(String mediaId) {
		this.mediaId = mediaId;
	}
	@Override
	public String toString() {
		return "GetMediaOrder [accessToken=" + accessToken + ", mediaId=" + mediaId + "]";
	}

}
